home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- # Remove shutdown and reboot links; this init script does not need them.
- if dpkg --compare-versions "$2" lt "0.1-17ubuntu1"; then
- rm -f /etc/rc0.d/K20hotkey-setup /etc/rc6.d/K20hotkey-setup
- fi
-
- # Automatically added by dh_installinit
- if [ -x "/etc/init.d/hotkey-setup" ]; then
- update-rc.d hotkey-setup multiuser >/dev/null
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d hotkey-setup start || exit $?
- else
- /etc/init.d/hotkey-setup start || exit $?
- fi
- fi
- # End automatically added section
-
-